home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 930 < prev    next >
Encoding:
Text File  |  1996-08-05  |  753 b   |  24 lines

  1. Path: gryphon.phoenix.net!usenet
  2. From: brucew@phoenix.net (Bruce Wedding)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help on Dynamically Allocating an Array?
  5. Date: Wed, 10 Jan 1996 07:06:12 GMT
  6. Organization: BranPaul Systems
  7. Message-ID: <4cvm5n$9au@gryphon.phoenix.net>
  8. References: <4cq273$aeq@mercury.IntNet.net>
  9. NNTP-Posting-Host: dial65.phoenix.net
  10. X-Newsreader: Moe's Newsreader    
  11.  
  12. jtomich@IntNet.net (Jeff Tomich) wrote:
  13.  
  14. >I'm confused on who to dynamically allocate an array of any type. Any 
  15. >help would be much appreciated.
  16.  
  17. char *p = malloc( numitems );
  18.  
  19.  
  20. Bruce D. Wedding                        Have Compiler, Will Travel!
  21.               Perspicacious Programming Performed Promptly
  22. Katy, Texas, USA, Planet Earth, Milkyway Galaxy, Known Universe
  23.  
  24.